package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/29 16:27
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class DeleteBusinessRuleInfoDTO extends BaseDTO {


    private static final long serialVersionUID = -4224496972947314269L;

    /**
     * 删除类型：1：删除业务规则 2：删除生效规则； 3：删除失效规则
     */
    @NotNull(message = "删除类型不能为空")
    private Integer deleteType;

    @NotNull(message = "业务规则id不能为空")
    private Long businessRuleId;

    private Integer businessType;

    @NotNull(message = "表单id不能为空")
    private Long formId;



}
